package com.business.service;

import java.util.List;
import org.apache.log4j.Logger;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.business.mapper.T_goods_specMapper;
import com.business.domain.T_goods_spec;

@Service("t_goods_specService")
@Transactional
public class T_goods_specService{
	private static Logger log = Logger.getLogger(T_goods_specService.class.getName());

	@Resource
    private T_goods_specMapper t_goods_specMapper;


	public int save(T_goods_spec obj){
		 return t_goods_specMapper.save(obj);
	}

	public int update(T_goods_spec obj){
		return t_goods_specMapper.update(obj);
	}

	public int delete(T_goods_spec obj){
		return t_goods_specMapper.delete(obj);
	}

	public T_goods_spec findById(T_goods_spec obj){
		return t_goods_specMapper.findById(obj);
	}

	public List findAll(T_goods_spec obj ){
		 return t_goods_specMapper.findAll(obj);
	}

	public int findCountAll(T_goods_spec obj ){
		 return t_goods_specMapper.findCountAll(obj);
	}
}
